/*
 ============================================================================
 Name        : hev-main-dialog.h
 Author      : Heiher <admin@heiher.info>
 Version     : 0.0.2
 Copyright   : Copyright (c) 2010 everyone.
 Description : Linkage 802.1x for Unix-like operating system.
 ============================================================================
 */

#ifndef __HEV_MAIN_DIALOG_H__
#define __HEV_MAIN_DIALOG_H__

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define HEV_TYPE_MAIN_DIALOG	(hev_main_dialog_get_type())
#define HEV_MAIN_DIALOG(obj)	(G_TYPE_CHECK_INSTANCE_CAST((obj), HEV_TYPE_MAIN_DIALOG, HevMainDialog))
#define HEV_IS_MAIN_DIALOG(obj)	(G_TYPE_CHECK_INSTANCE_TYPE((obj), HEV_TYPE_MAIN_DIALOG))
#define HEV_MAIN_DIALOG_CLASS(klass)	(G_TYPE_CHECK_CLASS_CAST((klass), HEV_TYPE_MAIN_DIALOG, HevMainDialogClass))
#define HEV_IS_MAIN_DIALOG_CLASS(klass)	(G_TYPE_CHECK_CLASS_TYPE((klass), HEV_TYPE_MAIN_DIALOG))
#define HEV_MAIN_DIALOG_GET_CLASS(obj)	(G_TYPE_INSTANCE_GET_CLASS((obj), HEV_TYPE_MAIN_DIALOG, HevMainDialogClass))

typedef struct _HevMainDialog HevMainDialog;
typedef struct _HevMainDialogClass HevMainDialogClass;

struct _HevMainDialog
{
	GtkDialog parent_instance;
};

struct _HevMainDialogClass
{
	GtkDialogClass parent_class;
};

GType hev_main_dialog_get_type(void);

GtkWidget * hev_main_dialog_new(void);
void hev_main_dialog_set_server(HevMainDialog * self, GObject * server);

G_END_DECLS

#endif /* __HEV_MAIN_DIALOG_H__ */

